package com.nxcy.caculator.oper;

import org.springframework.stereotype.Component;

@Component(value = "/")
public class Div implements Operation {

    @Override
    public double caculate(double num1, double num2) {
        return num1 / num2;
    }
}
